.ui.form
  = form_for @twitter, remote:true do |f|
    -if @twitter.errors.any?
      %h2
        #{@twitter.errors.count}个错误
      .ui.list
        - @twitter.errors.full_messages.each do |msg|
          .item
            = msg
    .field{style:'margin-bottom: 0rem!important;'}
      = f.text_area :content,id:'twitter-content'
    .field{style:'  padding-left: 0.5rem;'}
      = f.submit "发布动弹",:class=>'ui fluid green button twitter-btn'
:css
  #twitter-content{
    height: 30%;
  }
  .twitter-btn{
    float: right;
  }
